<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<style type="text/css">
    *{ margin: 0; padding: 0; }
    .header-wrap{ width: 100%; border-bottom: 2px solid #e6e5e6;}
    .header-bd{ width: 100%; height: 30px; margin: 0 auto; padding: 4px 3px 4px 3px; background-color: #ffffff; line-height: 30px; font-size: small}
    .fixed{ position: fixed; width: 100%; z-index: 1000; border-bottom: 2px solid #e6e5e6;}
</style>
<script type="text/javascript">
    window.onload=function(){
        function adsorption(){
            var headerWrap=document.getElementById('header-wrap');
            var scrollTop=0;
            window.onscroll=function(){
                scrollTop=document.body.scrollTop||document.documentElement.scrollTop;
                if(scrollTop>100){
                    headerWrap.className='fixed';
                }else{
                    headerWrap.className='header-wrap';
                }
            }
        }
        adsorption();
    }
</script>
<div id="header-wrap" class="header-wrap">
    <div class="header-bd">
        <span style="float: left;">
            <a href="javascript:history.go(-1)" style="text-decoration:none;"><img src="${gPath}/img/back.jpg" style="height: 30px;"><span>返回</span></a>
        </span>
        <span style="float: right; padding-right: 5px;">
            <shiro:user>
                当前用户：【<span style="color: #4d78ff;"><shiro:principal property="name"/></span>】
            </shiro:user>
        </span>
    </div>
</div>